import Vue from 'vue'
import VueRouter from 'vue-router'
import Shouye from '../views/Shouye.vue'
import Jihua from '../views/Jihua.vue'
import Dashuju from '../views/Dashuju.vue'
import Yanshou from '../views/Yanshou.vue'
import Zhihui from '../views/Zhihui.vue'
import TabBar from '../components/TabBar'
import Xinzeng from '../components/Xinzeng'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Shouye',
    component: Shouye
  },
  {
    path: '/jihua',
    name: 'Jihua',
    component: Jihua,
    ch
  },
  {
    path: '/dashuju',
    name: 'Dashuju',
    component: Dashuju
  },
  {
    path: '/yanshou',
    name: 'Yanshou',
    component: Yanshou
  },
  {
    path: '/zhihui',
    name: 'Zhihui',
    component: Zhihui
  },
  {
    path: '/tabbar',
    name: 'TabBar',
    component: TabBar
  },
  {
    path: '/xinzeng',
    name: 'Xinzeng',
    component: Xinzeng
  }
]

const router = new VueRouter({
  routes
})

export default router
